package com.ly.lypopupwindowdemo;

import android.app.Application;
import android.content.Context;

import org.litepal.LitePal;

/**
 * Created by liying on 2017/6/14.
 */

public class MyApplication extends Application {

    public static MyApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        LitePal.initialize(this);
        instance = this;
    }

    public static MyApplication getInstance() {
        return instance;
    }
}
